﻿
//using GCC.APIContainer.Utilities;
//using GCC.Container.Abstracts;
//using GCC.Container.Models;

//using Microsoft.AspNetCore.Mvc;

//using tcm.Filters;

//namespace tcm
//{
//    [ApiController]//记住这个单词
//    [Route("tcm/demo")]//记住这个
//    public class TestController : GCCAPIControllerBase//记住这个GCCAPIControllerBase
//    {
//        public TestController(AbsGCCContext context) : base(context)
//        {

//        }

//        /// <summary>
//        /// 我是xxxx
//        /// </summary>
//        /// <returns></returns>
//        [HttpGet("items1")]//记住这个GCCAPIControllerBase
//        public DataResponse<List<tttt>> Get1()
//        {
//            return HandleData(GCCEntrance.DBManager.GlobalDB.Select<tttt>().ToList());

//        }

//        [HttpPost("postTest")]//记住这个GCCAPIControllerBase
//        public DataResponse<List<tttt>> getRequset([FromBody] TestRequest request)
//        {
//            tttt t = new tttt();
//            t.userName = request.userName;
//            t.ID = LuanNiao.Core.IDGen.GetInstance().NextId();
//            t.password = request.passwords;
//            int m = GCCEntrance.DBManager.GlobalDB.Insert(t).ExecuteAffrows();
//            Console.WriteLine(m);

//            return HandleData(GCCEntrance.DBManager.GlobalDB.Select<tttt>().ToList());

//        }
//    }
//}
